Some fixes to the trade and agent view.