Lm/state

Working key press sync, master not integrated, share control.