improved seamless edgewrap code; added strafe function to ship