Finish refactoring, linked main.js. Update TODO, cancel panel related work

- Too many clicks to open videos with the panel
- Add more planned tasks to TODO