This is the bare minimum required to build the client. Returning null in getWindow() makes this class appropriate for use at runtime too, as the function is documented as returning null if the application is not connected to a browser.