funclmdif window implemented.
Two text files called log.txt and buffer.txt keep track of fitting process.
Content of buffer.txt gets displayed in the window and then deleted.
See appendStringToFile function and insert_buffer_file procedure.