Firstly, a ghost, as an incorporeal creature, only lacks a PHYSICAL body.
I believe it still has an ectoplasmic body. Secondly, when magic jar-ing a creature, you cannot activate its special abilities. So, no going ethereal. Furthermore, if you are on the ethereal plane when the spell runs out, and your body is on the prime... you're dead.