Functional and performance regressions
1) Moved all shared global variables to single location (main_utils.h)
2) velocities are now shorts instead of chars