Corrected or added many comments. Update test code to follow format go vet wants. The code doesn't pass the checks 100% yet. That will come in a later commit but these all seemed related so I'd rather get them in now.