Made spawning a little nicer.
Converted map manager to handler format.