Added .quit option to exit the program.