Bug fixes

Fixed update tags not running after sync, if the setting was enabled.
Fixed usage of sync after library update, was always syncing.
Small cleanup of sync, replace redundant calls with a variable and one time call.
Merge pull request #145 from nate1280/bug_fixes

Bug fixes