Update UI.
Interface of Table is managed. it looks preety now ;)
Managed UI and handle some errors.
some changes to make error class more meaningful.
Handle some probable mistakes in report.php and modalmessage.php