Thanks for the answer.
The 'plugin:beginWait' and 'plugin:endWait' does look like something that would be quite use-full for what I am trying to do. I will see if I can get it to work.