CORE-4841: a little more refactoring
CORE-4841: added code to get relaunch info for Agave apps