google 2 way sync

should be working quite ok now but should sync be moved to another
thread for performance's sake