Reworked the text area so that it works properly