Fix LoggerWindow saving triple \n. Closes #3714.