Added window specific creation functions
Merge branch 'master' into xep-0223