integration of the client window. not yet complete.