Task fail causes vm/image/node lock; tidied config; renamed agent script