For what I have read I should use C++ CLI modules so Slicer GUI doesn’t turn unresponsive to achieve my goal. That would be a CLI module call to takeScreenShot every 33mseg after a button is pressed, till that button is pressed again, then a CLI module convertFolderWithTempPicturesToVideo should be called. And the result would be the desired functionality (i.e. record live use videos of Slicer) without disturbing the user. Is this way okey? Is there any other way to do this (e.g. using other threads for these operations)?