added warning.
added extra protection agains loss of communication.
fixed homing.