shiny 0.4 API requires an expression instead of a function
shiny 0.4 API uses render*() instead of reactive*()
define a small probability to be treated as 0
add one-sided probability when showing quantiles