- Rework of GL initializing.
- Rework of MVar using.
- Removed old unused code.