Minor changes, implemented multiple opengl context management
Removed synchronized blocks to get it working, have to make threadsafe again