Created base window and sub-window subclasses for centralizing sub-window styling and keypress listener(s)

Issue: GCP-9005

Reviewer: Cyrus