Begin cleanup before rewrite

Add new function PrevNonBlankNonString