Added rendering thread.
Exported basic timing to coffeescript.
Added a multi-threaded renderer. Bunch of other fixes/changes.