Here's a little legenda for the debug mode 2 (1 shows the bokeh effect without the background image and 3 shows the background after BG white point, gamma and black point but before the blur thing)
First column shows the high/mid/low chanche areas for the particles. You shuld keep theese values increasing (what I mean is to avoid to set high lower than mid and mid lower than low) or else they won't work as supposed. That's because they are correlated: mid = mid - high, and low = low - mid.
Second column shows different blur areas (darker areas are less blurred than lighter areas). The big difference with the first column is that low value (BG2 High threshold) can't be tuned directly, but only by tuning mid (BG2 Mid threshold), because low = white - mid. The sharpness of theese areas can be changed with BG2 Details smooth.
BG1 is a more simple selective blur, sometimes it's useful to achieve smother rsults. BG3 is a simple one pass blur.
You can also output particles with transparency or added on the original image (not so interesting, but someone could find it useful)
Hope you'll enjoy!
c&c are welcome.