Fixed Twitter error handling.
Improved complex example.