Redone the projectile code a bit.