Minor changes - allow runtime modifications to simulation. (restart/exit)

Eventually will have "addtarget" etc params.