Roughly final edits to source code for project

Almost all changes were in comments and documentation.