Creatures are now reference counted
Forgot break statement in switch
Actions now utilize priority queue

A priority queue might actually not be a good choice. A binary tree containing
linked lists of actions may be a temporally superior choice.