Code audit; mostly changed some methods to be static and added comments.
cjaday