Deal with I/O exceptions.
Add an applet class in Scala.
Merge branch '218_attack' into 217_applet
Fix applet.
Merge branch '217_applet'