Removed some debugging code, transactions should be cleaner now.