initial version
removed newline characters
added Clear and Export Log functionality