[QREST-9] Hide window resize handle

also moved window flags code into our main window constructor