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

Inline: depending on the concrete use the compiler may remove the copy of the byte array, so it is not about potential function call overhead. My guess it that the arrays are small atm, so there is not much to gain as it is.

Nonetheless, I would still remove it from the class header file all together, as it seems not to be specific to the Clustsafe. You may just put it in the .cpp file or move it to the tools.cpp file.