Fixes for overview comments

Simplified.
Code style checked.
Tests: added, changed.
Tested by gjslint and fixed.