load/save state markers

Now almost any load and save method have load/save markers whit is is
uses to find out if it is running in parallel with itself to prevent
multiple saving/loading
I'm still trying to find solution for double loading when files are
updated from "outside"