Save extra copies of your module as often as possible. I haven't had the problem since, but it occurred for me when I added my second terrain. After re-opening the editor, everything was suddenly flat on my first terrain. I had to load an older version of my module. Thankfully the issue hasn't happened again - although I'm still terrified of touching up my terrains to this day.