This is a commit of about 3-4 hours of work. I completely renovated the error management system.