Helpers: DefaultApplication now supports disabling of windows. misc bugfixes