Minor cleanup.

Pretty much no functional change, but some minor formatting cleanup and explicitly return a boolean FALSE as a default instead of implicit NULL. I have some time to kill on a plane :-)

I considered replacing the header location with drupal_goto, decided no - especially as it's out of D8.