Update from libgdx.

closes #7