Hi Lewis,
you're absolutely right.
I basically put a whole bunch of
$html .= ...
lines into the main class. It worked for me in this case.
But: I am doing the very same thing right now for yet another project. So, this thing working in any dynamic way would be a major improvement. Since I really love the work you are doing with this plugin I would love to help you in any way possible.
Maybe you have an idea how to approach this?
Cheers, Joerg