added limit in the functions get(Edit)Changes; little changes/fix