Finalized quit option for master.py