bug fix, added viewer  preference setup to nmranalyser