Emit a signal when selection is updated in the main window

It may be used by plugins, ie. media player