beremiz

fix second error message in case of error appearing too early to have a wx frame
C extension