Lots of general porting fixes, including further implementation of the menu, proper graphics loading, etc.