Menuitem "Enable Debug Logging": Fixes Issue #16

Menuitem "Enable Debug Logging": fixed initial state and added state refresh. Fixes Issue #16