Initial work on a switch to using JSON instead of pickle for sending messages.
Fix bug that was leading 0 length command estimates.
Check for None values and use proper defaults.
Remove debugging prints.
Merge remote-tracking branch 'release/master'