api: fix custom sound events.

Closes #123.
api: fix privacy issue when in members-only mode; add unit test.

Closes #124.