fixed bug with error handling
added bar charts
moved most chart styling into css