added form closing handler
added message filter
added keyboard shortcut in preference