Added error support and deletion compliant with new configuration system
Fixed wrong usage of `fprintf`
Removal of unneeded elements.