This commit addresses a large number of IntelliJ warnings that have been left hanging around for far too long.