add ON_HALT event

turn off heaters and motors in on_halt()
call ON_HALT when a limit switch is hit