Changed package main to package ui in darwintest/ imports.
Fixed typo in objc_darwin.h.
More TODOs.
Added initial Mac OS X sysData code. Almost ready for first test build, hopefully?
Fixed various Mac OS X compilation errors.
Fixed Mac OS X sysData.setWindowSize() to get the window origin. Now to fix the rest of the errors...
Fixed the compiler errors on Mac OS X; now to get it running...
Fixed a minor startup failure on Mac OS X; now for a big one: apparently the thread that calls -[NSApplication run] is NOT the main thread...
Major code restructure to allow Cocoa to work correctly. Cocoa requires that the application loop run on the very first OS thread created, not just an any ordinary thread. To support this, your code must now be run by the UI init code. Windows and Unix builds still work fine; Mac OS X fails for reasons I now have to debug.