Window: we need to register List_dir handler before instantiating Tab_manager