lv-tool: Implement frame rate control (fixes #37)