More info in config.yml, remove global $config from core.php.
Use geomath class instead of lib1 include.
Remove calculation.inc.php include.
Logging for thumbs.php.