Converted the twitter activity to a fragment and inserted it into the
main activity.
Fixed some warning messages.