Replace println with logging.
Minor cleanups.
Specify timeouts on irc socket and twitter stream request.