fix a couple bugs.
added out of sync indicator.