Refactor topicmap renderer framework, pt.5 (#505).

Refactoring is basically done.

+++ FUNCTIONAL +++

See #505.