Revert "remove leftover escapeNP reference, was causing an error"

This reverts commit fb732017e9340986af98f5cd1a79dcdf63103f5b.
restore options.escapeNp

i guess it got removed when reverting the original escapeNP commits
always apply escapeNP (unless disabled); only block participation if logged in

also refactor a little for readability