Started removing script dependencies on old database lib.
Moved another script away from old library.
Scripts now use same library as the web site.
Moved init.php and paths.php from config/ to lib/
Normalise whitespace and case in text data.
Start styling the popup filter.