Fixed some bugs, added "proper" movement, and added a test AI entity that free wanders.