Fixed two bugs, see description.

1. Fixed the math for remaining iterations on the last frame. This was
causing it to miss training iterations.
2. Fixed the order of the speed icons.