They got the ship in that episode when the asteroids were going to hit that space station. I forget the name. I think D'Argo just saw it floating out there and "recognized" it as important somehow.
Chiana's visions started after she was inhabited by the Energy Rider, so that's the common theory about the cause. However, they were never really explained and they actually seemed to change in nature after a while.