Updated to handle additional exceptions thrown by methods in GameMap
Fixed the side panel so that it adapts to what the user has selected. Added ability to remove flags and buildings
Changed the layout of the control panel and added buttons to build additional buildings. Fixed the recorder to produce better code