Draft version of multithreaded rendering