Clean old transactions, small fixes