Bug fixes + additional options
onload' event would send such information to the BeeF server. Unfortunately there was no code handling