Updated StringTools to show the last pending line in consoleWrite