added packages where needed, to try and pinpoint fatal error
FIXED FATAL ERRORgit add . Error had been caused by two many reactive expressions within the renderPlot. When the caused an update in the wrong order, if the values were out of range for the plot, it caused an error. Isolated certain reactive expressions so that plot will only refresh when appropriate.