Added compatibility with Processing v. 2.1.1

small file changes to add compatibility with Processing v. 2.1.1.

Authors:
Philipp Schmitt
Stephan Bogner