Added some extras to the libgdx example.