fixed chart redrawing and added some files i forgot... oops