v0.19

 [Jean-Damien Durand <jeandamiendurand@free.fr>]
 - Call log only when its level is ok
 - Remove useless commented block
 - Remove non-needed events
 - Tiny optimization