Get rid of a bunch of magic numbers in MainView.  Change to defines.  Use the IPAD macro in ALL THE PLACES