Added close button to StatisticsView
Added exit button to MainView

 * the behavior of the exit button is yet to be implemented for a clean
   exit. it has to cycle through all the tabs and close them one by one,
   taking special care to save all open user profile views to DB.