Fix some notices.
Add method getDispatcher() to centralize the event-dispatcher retrieval.
Load language files.
Code style.