Surface: Simplified draw() method
gradle: Split into core, applet and javase subprojects