Renamed variable

Ignore-this: f82de6d8d14ac900e21148d83821827e

darcs-hash:20130123154106-b22ec-89aed502295fbc3d01e561d817800a091d44f973
Only set reason for NOTIFY if state is terminated

Ignore-this: ce3316423d584575e9ad66dc410ef0c0

darcs-hash:20130124103310-56b4d-014473ee0e2dfb832595ad246ccfc3ed8b068b81