Renderloop cuddled into Thread, functions are part of App
Renderloop cuddled into Thread, functions are part of App

Isolates the renderloop into a separate Thread (rather than a class extending it) and houses all relevant methods within the App class itself.

When created, the app instance is passed to the thread as the thread-local variable 'it'.  This prevents awkward back-referencing of the app instance itself from a separate class.

npomf/argon,npomf/bonsai,npomf/bonsai