trying to fix agent spawning...
various fixes for spawning, chat, movement