Moving over to Zdeva's new threading model.
Fixed to support latest Zdeva version (new threading version).
Merge branch 'newthread'
Updated to support the new default UIElements