Fixed up some issues to get rudimentary XES scans working.