* Fixed flush_text_buffer() function. It always assumed a newline at the end and...