Remove seemingly unnecessary clearFocus() call (thanks scrawl for help).  Fix saving window size on linux.