Seperated the view of the map into a user control (cleaning up the main editor window).