Added Twitter integration
Added some debug logging
Fixed code, removed console logging