Moved copyright code into a separate file so we can include it from everywhere.
Added error.php.
Slightly changed config system.
* global variables -> named constants
* added config check
Hiding include errors.
Fixed configcheck (we're using globals here).