Move choices remaining calculation into a function.
Styling.