Cleaned up some formatting and unecessary code in displayFunctions.php