Allow commands in the target selector

Added support for showing commands in the target selector combo
in the toolbar.