Streamlining use of functions for session related file names. Analysis panel code restructured.