Merge on save. Lock on load/save
Removed negative number index

- Removed $DOTFILE & $LOCKFILE
- Added cd-check-index