Consolidated web initialisation code into includes/WebStart.php. Moved profiling...