Continued work on key validation. Errors validating key.