Changes to remove some Intellij warnings

Three straightforward changes from my last pull request.  I'll send the others in separate pull requests, since they may require a few moments thought.