Cleaned up window code, removed EmptyWindow class as a simple null will suffice. Fixed non-private fields and made final, also made default window dimension and position.
Other minor changes.