using a loop to generate a tab for each tune type. switching broken php to using echo statements to generate html