Gittrac #1782:  Finished code cleanup, updated the manual (version
history plus details).