Fixed modal mode for the properties and preferences windows
Fully committed fullscreen mode
Code cleanup