Fixed ship movement

Fixed the ship movement mechanics for the player ship.
Made rendering slightly faster for chrome browsers.
Figured out how projectile mechanics work.