fix duncan's bug

fixes duncan's notorious "exit" bug, which was causing user hard drives to melt.