Works fine for me. Just a couple things that could be reworked and added.
1) Your input event should include an if ($active != Status Window), because your input event will message anywhere.
2) There should be support for notices & actions.
3) I think you should replace the menus with buttons. This would make everything easier.
4) The dialog should include the ability to disable/enable the module from there, and not the menu popup.
5) Sort of an addition to 4, you don\'t tell users that you can only disable/enable the script from the menu. This is not as imperative, but some might use the alias instead of the menu. ;)
Like I said, needs some improvement. However, this could turn out to be a neat script. Good work and Good luck. :)