Minor code cleanup, added fastcgi exit for scheduled tasks.
Minor code cleanup, added fastcgi exit for scheduled tasks.

emanuele45/Dialogo,interlab/Elkarte,joshuaadickerson/Elkarte2,wizardaf/Elkarte,interlab/Elkarte,emanuele45/Dialogo,StealthWombat/How-to-fork-an-Elk,interlab/Elkarte,elkarte/Elkarte,emanuele45/Dialogo,StealthWombat/How-to-fork-an-Elk,joshuaadickerson/Elkarte2,elkarte/Elkarte,Spuds/Elkarte,nwsw/Elkarte,Spuds/Elkarte,nwsw/Elkarte,wizardaf/Elkarte,Spuds/Elkarte,joshuaadickerson/Elkarte2,nwsw/Elkarte,elkarte/Elkarte,wizardaf/Elkarte,wizardaf/Elkarte,joshuaadickerson/Elkarte2,StealthWombat/How-to-fork-an-Elk,StealthWombat/How-to-fork-an-Elk