Fix some typos in background.js after refactor
Add daterangepicker
Add main window code