set window roles
Merge pull request #46 from tgbit/master

set window roles