Multi-threaded render-loop mostly works