Added mouse coordinates and flag/stop button updating
Added some more primitives
Fixed support for help menu item
Fixed menus and palette and translation and other bugs