twitter_client.rb: many fixes