Need to fix some openGL issues, but boilerplate added.