Keeping the GUI responsive while the application does some CPU-heavy processing is one of the challenges of effective GUI programming.
Here\'s a good discussion of h
I use threads so the GUI's main event loop never blocks.