MenuItem abstraction, contains bugs

menuitems now stored via pointers in menupage, added menubuttons to
replace old menuitems; program causes exception when terminating in
debug mode / prints error messages in non-debug