fixed index calculation to honor speed
Merge branch 'master' of https://github.com/omichde/UIKonfHeads

Conflicts:
	UIKonfHeads/const.h