Adjust frame to clients

This changes the size of the application window so that it exactly fits the document windows.