cache and config2 cleanup
added sql-debugging to lib2 search.php