shiny: string trim function
shiny.mpd: max length for statustext
rc: update status bar