added syntax highlighting
trimming source selection label when it is too long