Fixed some code to keep pedantic gcc happy.
Minor rewordings to UG.
Updated PDF for the UG in the package build.