Add output limiting to wolfram.

- Fix a bug where the DO command didn't work.