Correct some error inconsistancies. Add browser testing of errors - import missing error fails because of #1117