run training on separate thread and show progress bar
calculate vector at direction change points, and count number of vectors pointing to each cardinal direction, and their size
nothing really