Make findRichtextBoxes() more reusable

Fixes #65