Made messenger thread safe, finalized structure, started opengl