Patch 2.
* Removed the old main.php, and created an init.php which works with the new core package.
* Changed some code to work with the new core package API.
* Made it so specifically suppressed error types now work, instead of just boolean.