Refactored compiler slightly to be more useful as a library.
Produce no progress output by default.