shell: Progress bar updates must always be routed through the event loop.
examples: minor cleanup
Pixel Classification: When the user changes the number of features, discard the old classifier, and prevent him from using the export window until a new classifier has been trained.