fixed bug when manually editing registers
Added all verification functions (untested)