functions.php code reformatting

Just a little tidying for consistency, nothing too exciting... moving on!