Cleanup and remove debug quit (it works!)