Add check to only send when there is text in the textbox.
Modify elementHandler to take statusbar object for messages. Also start modifying maximaElementHandler