Yeah, I really have to spend some time cleaning everything up. The code itself is pretty messy too and needs to especially be split up into smaller files.
This is the first electron or even real node projects I've worked on from scratch, so I'm still getting used to everything.