* Some changes that hides the windows if they are not loaded
* Might fix an issue with rules and windows