Finished version 3

Main new feature is real-time sync.