Add some support for handling arrow keys.
Merge pull request #3 from jgouly/master

Begin support for arrow keys