TextArea bugfix & improvement