tiedied up a bit
fixed created_event call
moved captured functions to wrapt
readded the magic log parameter
added handling for seed and rnd