added printing of selected command. Cleaned up TODOs

There was a TODO to allow e.g. Excel to open a selected file. This should work if xdg-open is set up to do this, nothing to do with pyo