added ggplot2:: where needed
changed some package dependencies