Added input handling.
Merge branch 'master' of https://github.com/mervyn-mccreight/opengl