added comments to bloom stuff
tweaked interface and implementation details
added missing (?) short beacon flag management