Spawning bugfix and implemented state transition effects (fading)