Added "Theme" attribute and removed unneeded imports.
Removed automatic window pushing.
...