Commenting, Some documentation, and variable re-naming.