Added capability to retrieve and display a list of valid commands for whichever device is selected at a given time.