Fix settings saving wrong percentage

Settings saving wrong percentage. Also adds early bits for measurements.