I've had this issue occasionally on my Windows machine, and a student is having it happen on their Mac. Sometimes the UI will stop responding for a second, and then go back to normal for a while. Unfortunately, does not seem to be based on something repeatable in the code. Could it be something with the logging?