Bugfixes

I fixed a few bugs. In my master branch I also included a manual input mode toggle because it wasn't giving me direct keyboard access in xbmc for certain input fields.

very useful little tool, thanks.