[BUGFIX] Removed a few bugs in case of system malfunction
[ENHANCEMENT] The system can now throw errors properly so that they could be caught by the interface