Added support for stockdb, and table display for portfolio.