add temporary debug printf for midi event timing
invalidate cache on opening a new file