Entry point is now threaded.
This prevents Stumpwm from borking things up with its X locks.

There's also a guard around the thread so that we don't accidentally start two SDL windows.

Some source reorganization got tossed in there, too, so maybe it'll compile with fewer warnings..
Merge branch 'master' of ssh://github.com/SamSkulls/sketch