Optimization finished for now. Fully multithreaded, with 3 threads (UI, compute and draw). Implemented with Handlers.