Fix race warning

CID 1201438
Resolve static initialization order fiasco
StatusBar: less greedy invalidation

Fixes rare flickering.
MainFrame: call OnGetMinMaxInfo() before resize
Cosmetics
SysVersion: use 'static' for local functions
MainFrame: don't auto-zoom while aero-snapped
MainFrame: adjust auto-zoom logic

Refactoring, minor tweaks to snap persistence, and reworked
EC_VIDEO_SIZE_CHANGED graph event handling.

Refs #3704
Add new color button control
Use new color button control
PPageCapture: change controls z-order

Fixes #4238
PlaylistBar: drag and drop deeply nested folders

Support it.
Add simple readers-writer lock implementation
Discard .ini cache when it's not being accessed

Refs #4193
Use the right prefix for bool variable
Prepare for new osd engine

 - Adds thread-safe playback state storage class
 - Encapsulates seekbar thumb drag logic to be reused
   in new osd seekbar
Get rid of start time in PlaybackState::Pos struct
MainFrame: refresh metadata less aggressively

In 4cf10a we started to resend same metadata repeatedly to both api and
skype. In this commit we do it only if the metadata actually changes.
MainFrame: fix taskbar clip area calculation
Separate TaskbarList from MainFrame and SeekBar