add "block gui" to layer viewer menu in debug mode