Add multitread version
Basic rendering implementation
Handle GUI locks in renderer class
Multithread rendering and event injection implemented
Fix crash on basic-mt exit. Fix multithread event handling