More commented code.

Added comments to some code.