check window id to send notifications
Merge pull request #8 from micampe/window-id-notifications

Send command notifications only if a different window is active