Hygiene: Adding documentation and prettifying some code in EditorOverlay

Change-Id: Ib9c15a3621167eba162f95abc334c305455601ec
Merge "Hygiene: Adding documentation and prettifying some code in EditorOverlay"