Cleanup and rearrange code. Add SPRINT_STAMINA variable for limiting sprinting, Update README, change default value of SPRINT_TIMEOUT to 0.5.