Introduce new event to create panel template instances.
Utilize prebuffered variables where possible.
Refactor rendering of panels into own subclass PanelRenderer.
Fix retrieval of circularReference flag.