Updates to shiny and fixed bugs in plots