fix NPE when optimizing comparison with Dot
fix NPE when no error message (we caught a previously uncaught
Exception)
turn off DEBUG printing
move variable-1 test case so it isn't run as a search test