safer cast added
do not let index tick confuse the rest of the system after calibration
multiple logic bugs fixed, still doesnt work #53
correct movement start #53