game: Fix incorrect argument to calculate_clear_winner()
map: Deallocate map data before loading new map

Also deallocate everything on program exit.
viewport: Properly deallocate previous landscape tiles when reinitialized