Backup commit mostlt
Tried some sync stuff that didn't work.
basicaly having two threads for incoming packets and outgoing packets
cause the backup to lose sync. I needed the two threads for buffering purposes, but I have a better idea about how to do it now.