ENH: Refactored the enable check and allowed a $_GET['xhprof'] override.