Fixing up ramdisk code so it doesn't create multiple ramdisks when terminal starts up with open windows.