Various Bug Fixes

Added newsFunctions.php to prevent loss of code during merges.