fix NPE when views getting shutdown
use new scheduler api
fix an autobug
begin using state machine to model vehicle behavior

Signed-off-by: Kevin Hester <kevinh@geeksville.com>