Fixes for Twitter error handling
Merge branch 'develop'