Moved syncMargin from Constants to MainHub and removed globalSleep