Improved character counter and fixed a bug that caused the quit routine not to be called