I worker thread for processing the picture would be a nice idea (program do not respond on long removing operations)
Each standard program with long operations should have a worker thread and the work should not be processed on the same thread as the main windows. Othervise the program stops responding.