Fix a temporary crash with unimplemented tabs; set a default directory when doing Open File