Added a general purpose refresh system for all panels.