Fixes to the Java and Processing tutorials.