Commit for John

Added QCoreApplication::processEvents(); and it made ALL the
difference…. special thanks to John!!