Here is a test version (the stuff below refers to this one): https://mkl.io/files/Elmanager_dbg.zip
So I don't have the buggy version, but it might be possible to revert to it by changing the distances back to 380.
I was able to get the bug in a simple test lev. It seems Elma draws all unclipped pictures behind others (those with sky/ground clipping) if the distances are the same. So I modified SLE to do the same. It's still not perfect. Mixing pictures and textures with same distances may give different result, but they have different default distances anyway so it's not so bad.
sunl: Fixed the PolyOp bug; it happened because PolyOp created a polygon with 0 vertices which then causes the crash.
The grass bug seems to be a bit trickier because it's not clear what the limit is. And it seems to crash differently (internal error) if you put the grass far left or right. So it only hard crashes with far above or below. Currently I'm not too motivated to investigate this, so I leave it unfixed for now.
Also possibly fixed the font bug. I can't get the bug on my comp, so someone (roope, J2, sunl?) will have to confirm whether it's fixed or not.
roope: No idea what could cause Simi's problem. Would be nice if someone knows how to get the bug.
J2: Ok, I didn't add a separate option for that but now SLE tries to check if the lev numbers are going up or down.
I have noticed that changing the foreground/background is not included in Ctrl+Z\Ctrl+Y history, is that a bug?
Those are now saved in the history, as well as changing lev title or LGR name.