Change when the main text window's text is rebuilt to be more responive