Fixed update rate for gui under load.

Also start of new encoder class using thread pooling.