Minor changes to get back spinning icon during file opening