Merge branch 'master' of github.com:m0ep/1gam
added input handling