Refactoring QuakeTrace Class to remove newline