Minor updates.

* Added logging
* Added using statement to media stream
* Added default config value
* Updated gitignore.