few tweaks to make the previous commit work on 0.81 based code
using 0.9.0 version of the applet - hopefully it will work with Java 8