removed some more debug code and fixed another bug that kept errors from being displayed