add define for pre-2014
Move slave initialization to before we try to talk to the slave. Ugh.
Whitespace fixes, safer string functions, and a communications mode that uses checksums to ensure correct communication.