progname for each tab and tabnames for each app is saved and restored at launch correctly #1