upgraded shiny: additional borders, export and R code output