Move global functions to individual panels
Currently all panels are always in the 'current' mode effectively, would be nice to allow them to take on the type of any of the global functions cur/max/avg/time.
Currently all panels are always in the 'current' mode effectively, would be nice to allow them to take on the type of any of the global functions cur/max/avg/time.