Custom debug + quit fixed