Switched to OpenGL added clear and clearBackground