xmso file reading changed/minor fixes