Changed errormsg to use version number.