Memset struct written to 0 in lhap_stop_effect.
Try to solve some memory leaks on X11.

Buggy X11 drivers and libraries still leak themselves though...