various updates to avoid and remove wrong loop closures; updated visualization;