working on #118, #125; replaced popup error messages with output console