Continue processing packet if mindelta is undefined
BeatMap: Fix bpm and sync behavior with beatmaps.

YOUR BPM INDICATOR IS LYING TO YOU.  Since a beatmap
doesn't have a constant bpm, using the "file_bpm" value
for sync and slider display is misleading.  This commit introduces
a new ControlObject, "local_bpm", which represents the average
bpm value around the closest 8 beat span.  It's still a fairly
noisy value, so it may require tuning.  This local_bpm
value is used to display the visual_bpm, so now you can
watch the bpm of your crazy track change over time.  Also it's
used for master sync, so you can watch the pitch slider
of your track wobble around as it tries to stay in sync.

TESTED=existing tests pass, and some new tests for the bpm averaging function.
clarifying comment
notes
Add NULL pointer check.
Deere skin: Swap FILTER and KEY button order in mixer column. Fixes https://bugs.launchpad.net/bugs/1399549
Put audio device check last in the startup flow.
LateNight: Implement SizeAwareStack for lower half of UI.

Now the effects rack, samplers, and library will appear and disappear depending on the
size of the window.  Each state needs its own COs, so there is some
odd jumping around as the window size changes.  But most users don't
spend a lot of time resizing the window so it's not a dealbreaker.

TODO: need to hide the "effects" and "samplers" buttons when Big Library
mode is engaged
Tracks specified on the command line need to be processed after we know
we have a working sound card.
Merge pull request #421 from ywwg/skincheck-first

Put audio device check last in the startup flow.
Library Header Changes

* Set some good defaults for header order, widths, and show/hide values with
an eye on a really good first-run experience.
* Delete header_state values on upgrade, since we can't use them
across db versions.
Better support for SVG slider handles.

* Scale WSliderComposed handle to the width or height of the widget.
* Update Deere slider handles to look more like classic Deere -- still
  missing the dropshadow.

Raster handles are usually custom-built to be the same width/height as
the slider so this should not affect most existing skins.
Add slider backgrounds modeled after classic Deere.
Merge pull request #423 from rryan/slider

Better support for SVG slider handles.
Merge pull request #419 from ywwg/mastersync-remove-filebpm

BeatMap: Fix bpm and sync behavior with beatmaps.
Disable log spam for the (common) case of no beatgrid with quantize enabled.
Merge branch 'master' into columns-reset-to-default
Make sure to clear out all header states
Make most models inherit the default hidden-column settings.
Make column name / widths easy to set up.
better comment
no need to change old schema update processes