Fix error when window maximize (in legacy mode)
Rename key from "enable_legacy_method" to "legacy_mode.enable"
Add usage nsIConsoleService for loging
Remove "Enable DEBUG mode" checkbox from settings page
Remove unneeded checks in legacy mode