Fixed some error reporting and file location problems.