Added comments to demo and applet core classes.