Declare undefined variables
Remove trailing spaces
Add destroy method
Show sink list only when more than one sinks are available