Bug fixes on the string stuff for the ls command.