At long last a decent report template.
A major enhancement on this release; a proper web developer (@jglambed) crafted a new report layout based on angular. This let me clean-up the codebase from template related code, making maintenance easier.
The new template behaves much better and should be easier to read. Also the path is open to further enhancements that I could never make myself.