More hdr refactorings in mrpt-base