serial protocol experiment

Warning fixes.