Reformatted to allow user to quit like a boss.