Separate maintenance .htaccess
Fixed sorting
Globals completely moved to external DB (#93)