added some caveman debugging for apostrophe errors, still not working as advertised, but the scope of the problem should be narrowed.