Changes to quit method.

Version 1.2 10/2/14