opengl rendering now done via lua script