Added debouncing functions and fixed the issues with spotify script not working on Windows. This effectively fixes issue #1 and issue #2