monster2.c optimizations

The functional changes to monster2.c.