Fix bug when instance initialization fails.
Fix bug with xact callbacks on 9.2
Remove dead code.