Added a guileful scheme to detect top-level targets and display them.