Make level cheat listener more sane.

And make it not throw an error with some
versions of javac.