working spaceship spawning + idlestate