fixed null pointer in smithChartPanel paint if no data for new project.