CLosed polylines now shown properly when selected, and added ptinlns to reveal any errors that might be in showing selected shapes due to error in shape classes, to rule out that they cause selected shapes not to be shown.