Prettier log messages.
Fix Python 3 compatibility.
Use python-evdev instead of python-uinput.