Main2 minor changes

error printout changes