Added config check if world of map exists, fixed some out of range errs.