Add a class to better control the rendering of the glyphs and their components

Simplifiy the logic in ExportController
Bugfix: use the right file name for logging