Refactors logging.
Instead of a custom logger, we opt for the built in error_logger for info reporting. This will also replace error reporting with exit messages. The Makefile has a new compile option, debug, which will compile with debug messages turned on. This of course can be turned on when compiled as a dependency.