Improve initialization and add jabber package requirement.