Pull request for all the remaining patches, including the new performance monitors.

Add the default initialization value here to simplify the init function? Also true for some of the members below?