Added some general code comments.

Much more of this is needed… got sidetracked with emails will get on
this tonight.