set autoresizing mask on directories popup
Add support for no-titlebar windows