Temporarily fixed 1-way sync.
Added resolveRepo().
Moved header out of states control.