Only write/show highscore if not an applet

Fixes crash when running on browser