Upgraded JQuery UI to 1.10.3. Simplified handling of beats, fixed various bugs.