Updated main file

Changed error reporting from nothing to only (fatal)errors.