sub beat loops syncing work.. transitions between loop size no good

computing based on a folded frame location when the loop is smaller than
a beat size... still, we have some speed irregularities when changing
loop lengths.
comment for the future
more comment
added some printouts for debugging