Autoloading; moved global init code out of imgboard.php; small fixes