sendMessage funtion works. onPause kills motors.