Replaced complex read by simple read plus stty. Fixed umount_key -> umount_keys.