added latex module and regexp hooking
added logging
fixed stalking module for events api