Please use 'logf' throughout the code instead of fmt.Printf() so that order is preserved... but maybe that is for another PR.