move menu & exec_total to context processor. add menu to statement permalink template.