adding messageSync and cursor. working
random UI stuff
fix merge conflicts