Templating: Can now use template variables in panel titles, Closes #312