Updated to JOGL 2.1.5

Old version was broken by Java 7 updates.
GLCanvas was incorrectly initialized using Swing on Macs.
Problem seems to have been fixed with JOGL 2.1.5.

Also changed the implementation of paintToFile,
because the JOGL class Screenshot is deprecated.