Battle Grid: Optimization and bug fixes

Improved performance by +-30%. - Fixed a bug where if you had lightning and cc tree active the game could crash. - Fixed a bug where the final grid upgrade was 'free'.