Fixed checking wrong variable for STDERR test, cleaned up output
Added more information when errors occur
Converted git-files