Tightened up transport start/stop detection

Transport start/stop detection is now more precise, with stop being detected almost instantaeously.  This should lead to fewer instances of the arpeggiator starting from the middle of the pattern.