Added max length to message text box.