Displaying total normalized system energy before and after each impact to monitor energy conservation. Added pause before closing visualization windows. Removed MinIntervalsPerPhase parameter, since the interval step length is adequately controlled by other criteria. Other miscellaneous improvements (all global constants now use upper CamelCase, strict adherence to limit of 80 characters per line, etc.).