Fix JPG import on Mac

NOTE: JPG import now works on the Mac.
Fix new type specs reuires OTP-17.0
(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
 wx fixes hidden cursor, maxmize, get_mouse_state

get_mouse_state which returned the coordinates in screen coordinates.
Use wx fileselector on all OS'es
Add real native window menus
Convert dialogs from OpenGL to wx
Fix popup menues
Fix native statusbar and fix progressbar
Use wx image loader

Faster loading and builtin support of png, jpegs, gifs, tga and tiff.
popup menu fixes
Fix (wx) edit repeat menus
Remove geom menubar: Remember to fix Saved views
Fix dialog usage for object plugins
Fix textctrl (and history) in dialogs

Broken on wxWidgets-3.0 on windows
Impl pref
Fix dialog conversion
Temp Mac fixes