Added Array.prototype.equals, and fixed a couple other things.