Replaced global variable with self-modifying code in playmusic. 1006.