It looks like you removed private browsing logic here. with the require("./panel/window").getWindow method usage.