Fixed segfaults from g->mtypes referencing, dealt with debug monster spawning segfault that cropped up from changes as well.