fixed some issues with the current window def
added lirc script and made it the default for use custom script
added debug support