Added getWindow() functions to GameBase.