add missing debug output, make sure rpi output sends only data if output
is changed, update todo