ghost modules, default activity, debug tools refactor