Update files to eliminate php warning messages and some minor fixes.
An Update
Merge branch 'develop' into feature-fix-code-warnings
Merge pull request #509 from EntradaProject/feature-fix-code-warnings

Doug fixed a number of PHP notices displayed which resulted from unset variables being referenced when error_reporting was set to E_ALL. Thanks Doug.