added tan Freq spinner
added tan Hist spinner
cleaned up code
cleaned up more codes