Fixed warning of JSON lib. Added mouse listener for sprite and added a method to compute the bouding rectangle of a group.