Error handling

When an error occurs when editing/inserting or deleting a record, the page will be reloaded with an red error message echoed on the first line of the page.