Got selection working fully.

If you find any bugs just raise an issue on github.
Merge branch 'devel' of https://github.com/Kaffse/multi-device-audio-project into devel