Currently the GUI can hang (temporarily) while rescanning after importing a private key. This is confusing to users which will think that the program crashed (for example see #3785). Need a modal popup at least, progress display if possible.
Communicating the progress from the core in a sane and flexible way is going to be the biggest challenge when implementing this.