An early version of the script had Obi-Wan returning from the dead in Return of the Jedi rather than just appearing in ghost form.
#19 there was a lot more to it than that