Case insensitive TFind, some fixes