Some changes

Changes to Java applet