resize window and spell checking