added support for multimedia keys
finally got autostart to work