-added trader spawning
-multiple fixes related to new state only modes
-fixed doku