minor code style fixes
Make setting work correctly on disabled plugin.

Fixes #56