Correcting potential NPE

Better null handling. Proper per process instance handling on JMS. Fact retrieval and deletion functionality