additional fixes suggested by @anba
Merge pull request #101 from smikes/addl-console-negative-fixes

additional fixes suggested by @anba