modified so panels can open and close in association with the right button clicks.  (added missing source files.)