Took out extraneous quitting code.