- Made sure only the focused window is queried for its state, not all windows
- Handling the case of user closing a window better
- Queries registry and profile xml file for the profiles and the active profile (not yet used for anything)
- General code and design cleanup, preparing for testing