Changes.
Old method too processor intensive.
bpm/spb no longer global.
Make BPM variable.
Make BPM variable.