Notes on updating the map.
Moving the events into the window class.