First piece of validation

I'm adding pieces incrementally to make sure we get full testing of each
piece.

Make syncLoop() private
Merge pull request #326 from thockin/valid2

First piece ofn actual validation