changed algorithm for open and closed phrases. open phrases start on tonic and end randomly. closed phrases, opposite. added a second header to web page for ipad use.