Issue #295. isValidWord may throw NPE if the dictionary is not ready yet