Continue refactoring for ContextMenuControl. Fix charset encoding issues.
Source formatting