Added Window Class

- Added Main Window Variable (For multiple windows)

- Small Fixes