added new blocks for reporting min/max values
significant c# native interface cleanup