Fixed some details for better deployment and added twitter.on(error) for catching some twitter API errors