Add API to make the interpreter log the stack before/after a particular instruction type.

Also removed a bunch of log statements that did exactly that manually.