added comments and general fixups
Merge pull request #5 from nettux443/comments

added comments and general fixups