Finish AutoFormat.java

Sort out arrays and do-while loops. Fix some more bugs.
Merge branch 'autoform2' of https://github.com/GKFX/processing into autoform2

Conflicts:
	app/src/processing/mode/java/AutoFormat.java