(wx) Added redraw callback

Which windows (and possible mac) requires to get redrawing to work.
I can't believe I missed this.

Must test this at home on my old-slow XP machine.
(wx) event handling optimizations.

And fix keyboard events
More wx (hidden cursor on windows) fixes
Fixed get_mouse_state which returned the coordinates in screen coordinates.
Add real top window menus
Convert dialogs from OpenGL to wx
More Dialog fixes temp