Slightly more robust error handling. Supress a lot of extraneous messages to console. Saner default parameters.