Removed stacking of message windows that was creating deadlocks.
Added several doEvents to allow correct processing