added char-ready? test, and fixed char-ready?