tidying and applet testing.