last minute fixes to chart and ui stuff