Split window into a ClientWindow and base class