code cleanup
comment out query logging script
move partial variables to settings.php