added option to create window with additional window hints