added syncing to display
added sending events to window