Get automated syncing working .

Sort out the automated messages so they don't fire when manually initialising.
Fix order of events being fired.