rework Register class to work better with RegCheck, bug fixes