Refactored so we don't need to uiwait() on SelectFeatures().