fix Multiple attacks at once, code improvements
fix Multiple attacks at once, code improvements

mpurzynski/MozDef,mpurzynski/MozDef,gdestuynder/MozDef,gdestuynder/MozDef,netantho/MozDef,ameihm0912/MozDef,Phrozyn/MozDef,ameihm0912/MozDef,mpurzynski/MozDef,jeffbryner/MozDef,mozilla/MozDef,mozilla/MozDef,netantho/MozDef,mozilla/MozDef,netantho/MozDef,mpurzynski/MozDef,netantho/MozDef,jeffbryner/MozDef,gdestuynder/MozDef,gdestuynder/MozDef,mozilla/MozDef,ameihm0912/MozDef,jeffbryner/MozDef,Phrozyn/MozDef,jeffbryner/MozDef,Phrozyn/MozDef,ameihm0912/MozDef,Phrozyn/MozDef