Fix PS1Seq regression (tempo event crashed the app.) Fix memory leak possibility of PS1 format (every other formats might have the similar problem, what a pity!)