VM: Fix free chain's consistency.
VM: Cache Program as Object for speed-up.