Monitoring/MenuRenderers: unify logic, perftuning

This reduces duplicate code, query will be fired only once right now.

fixes #7554