lines are now written to file, but I'd rather have them in cimgdisplay..