make spawnflag boolean handling less error prone
run all available reset functions after all entities have spawned instead of running each directly after its corresponding spawn, so that eclass controlling entities can sucessfully change eclass wide settings later