Fix typo in frames calculation
* Use DBG macro in diagnostic output
* Housekeeping in Shuttle code. ignore when bpm of 0 tries to be set.