changed dmesg log parsing to allow for extra characters to appear
before the line data, this is important for android since it
adds pid data to the file. Also added a check to stop timeline
analysis if the time window is zero, i.e. no useful data.