remove members that are never used
Hide drawer while loading
Hide debug mode according to prefs