fixed error reporting + startup paramters

automatically after save find all the errors
improved startup parameters