moved opengl initialization to rendersystem ctor
moved casts to @System