Added Gravity and minor style fixes.