Added input event handling to client.
Merge branch 'master' of https://github.com/ZimonD/ContextCG7