Freeing up RAM on map load and main menu