Make sure window IDs are quasi-unique
Merge pull request #148 from Apokee/topic/window_management

Make sure window IDs are quasi-unique
Fixes #53