flush work

add some avr code to provide a better way to flush data... which i may
think occasionally freezes the board in a waiting state. to find out
tomorrow