Fixes #77; adds option to disable middle edit markers