Better structured code, and allow downloading of whole log ADIF