CODE_HISTORY and EDIT_HISTORY updated. Clarifying comments added.