Wrote a slightly better error reporting system.
Fixed a bug about opening non-existent files.
Added one-of-many free()'s that need adding.
Merge branch 'master' of https://github.com/CharmlessCoin/Solid into bug_fixes