-edited documentation a bit.
-comment cleanup.
-changed all that is public to internal.
-TAB to space conversion.