Added restoring markers after external modification and file reload.