Major rework

Rework engine to do multithreading pre-render. Supports up to 16 threads
at once. Pen and Tool are now broken. Added new UI and loading bars.
Added new workers and proxy API.