Functions to work with errors found while running the application. There are stored not more then the first 4 and the last 5 errors between two calls of Last_errors / Reset_errors (error #4 becomes equal to "..." after 10 errors).