Big bug fix - the relax execution lock now truly supports nesting.
This fixes bug #20891 (https://gna.org/bugs/?20891) reported by Troels Linnet
(https://gna.org/users/tlinnet). Scripts can now be executed from the GUI.
Note that this is a very dangerous fix. Playing with the relax execution lock often proves fatal,
so this commit may have to be reverted.