* fix opengl errors and stuff
* use old rml style