added tilt kill switch, debug for pid result