Win32 UI: Fix frameskipping menu. Picking 9 would never be checked or work.
Convert all of the checkbox loops to use ARRAY_SIZE instead of magic numbers.
Merge pull request #2940 from thedax/master

Win32 UI: Fix frameskipping menu & minor cleanup.