Bug-fixes and fixed views for agent trading.