Most likely, you crashed into the Earth because you weren't at the ejection point at ejection time. IMFD will show two dotted radial lines. One shows the ejection point, and the other shows where you will be at ejection time. They should overlap. Adjust your TEj until they do. Any changes you make to your orbit, including plane changes, will affect this, as will time (if you aren't ejecting on the current orbit).
The instructions above are vastly oversimplified, and will only work you get lucky on a few points, don't change your orbit in any way, and will eject on the current orbit.
I have been working on a few tutorials covering the basics of spaceflight. Unfortunately I haven't been able to put in much time on this, so a moon flight tutorial is still at least a month away, perhaps more. These tutorials will include annotated flight recordings and a PDF manual. They will cover just enough theory to let you understand how to choose the correct variables, and the flight will show how to put that theory into practice. Many of the other tutorials available focus too much on theory without showing you how to use that theory, or are simple "follow these exact steps using the exact numbers I give you, but I won't tell you why I chose those specific numbers" type that only tell you how to fly that specific scenario, and not how to use those techniques in another scenario. I'll try to cover both theory (without overwhelming people) and practice, and will explain how the numbers are arrived at so you can use the techniques in other flights. They'll be showing up on OH under the title "The Basics: insert name of operation here". They'll start showing up in a few weeks, as I can find the time to do them correctly. Please be patient, if I rush these they won't be nearly as useful, and may even be more confusing than educational.