more input handling.
Merge branch 'master' of https://github.com/joethered/asg3