Improve tempo controls: slider only updates tempo if it's focused, and box will update on keyup