Fix to work with unconfirmed outputs and unconfirmed spends. Also show how an output is spent, if it is.