Fixed GetActiveWindowDimensions again

...in case of maximized windows
Refactor some stuff into a NativeWindow class