Fixed _kgetch. Removed loop.