Five seconds is a very long time when your GUI is frozen
Merge Robert and Steffi code