Various changes to the stdlib, utilities, main, and wrapper to get a simulation to run.