Status page

* Fixed templates
Database script

* Fixed notices
Error reporting

* System is now catching all errors