Merge pull request #11 from CharmlessCoin/master

Bugs and memory fixes
Makefile was broken
Updated report_error() to take formatted strings.
Fixed a segfault with another check for "real" files