Added option to process the whole log file, and then optionally carry on watching the end afterwards (or one or the other).
add logging support...but no actual logs yet
add some more logging bumpf
fix logging so it works properly and actually log some things