added quit button; fixed duplicate cell trouble;