change log location to desktop
factor out recording window
ignore .exe files
put getwin in main loop, and give both funcs global scope