improvements for using polmineR as backend for shiny web applications