remove whitespace on empty lines
send mouse coords to server on mouse move