Full code reformat (core and util); reduces diffs when checking-in fixed issues