Moved location of uppercase conversion and removal of extra line from the Text Edit widget