added ggplot2 graphs, gridXval working, minor fixes