Pub update. Follow language changes. Fix some warnings.
Modify the logic of renameProfile. (Fix #3)

Add additional debug print() in options syncing.