Many mods to reduce the number of warning messages. Primarily adding
prototypes, including the correct std lib includes, and correcting
missing return values. Still more to do...