Fix video recorder not working if sound disabled (fixes
bug #200)
Something down in the food chain already uses bitflags, so might as well switch to them
Fix hwengine crash when using >1 controllers
Reason: Data type mismatch for SDL_JoystickName, we wed in an index, but it expected a controller handle.
Solution: Switch to SDL_JoystickNameForIndex.
Always use SDL_Map(A)RGB in SDL_FillRect for color
This practice is recommended by official SDL docs.