Implementing smart spawnflag editor