add log level check so that --verbose option works
fix diagnostic log location
Added error messages to loading objects
Merge pull request #577 from duncanspumpkin/add_error

Added error messages to loading objects
fix GCC errors with diagnostic errors