Initial commit of headphones support.

Started adding basic support for headphones. Not sure I like the UI, but take a look, let me know what you think. I'm happy to make any changes requested!