Avoid sending position updates on redraw

Send position updates from main cycle when no update arrives instead.
Also remove duplicate sendMessage function.

Signed-off-by: Aharon Campos <aharoncampos@gmail.com>
Use different behaviour types to make decisions