Re-implemented refresh button and charts, which were broken by the LiveTrader class. Misc fixes.