stop casting in app 'close'
properly hide/show device selection
make buttons useless when no media is present; fixes #7