Looks very cool and useful @david_s5! I've noticed issues with lots of debugging with Serial and Serial1 though, so to make sure you see all of the logs you might want to add this to the end of your debug_output_():
Still haven't heard if this works yet, but in theory it should