some tweaks to the measure code
some tweaks to the measure code

eohomegrownapps/musicblocks,eohomegrownapps/musicblocks,walterbender/musicblocks,eohomegrownapps/musicblocks,walterbender/musicblocks,Hrishi1999/musicblocks,Hrishi1999/musicblocks,walterbender/musicblocks,Hrishi1999/musicblocks