OpenGL viewport gets updated.
Just sketching out and testing the physics.
Fixed to work on linux.
Got simple collision detection in place.