Added error handling for 'open'
Improved default options and logging
Merge pull request #13 from faergeek/master

Error handling for "open" and better default options