System is running in web worker. Separate GUI and system
Separate master and worker thread files
Double Mainloop count to reduce number of message passings