If a job is so unpleasant that people will only do it to avoid abject poverty and its miseries then something is wrong with that job. Probably that window manufacturing job could have been much more pleasant given the right process changes, but the factory owner was not incentivized to try because they could find someone willing / forced to accept that job as it was. In essence, basic income does away with wage slavery, but that is a good thing. Those goods will still get made, but they won't get made in the same way. Though to be honest, most places will probably not bother making the job nicer and will just move it to somewhere where wage slavery is still legal.
I'll be honest: even if you gave me unlimited money to fix it, I wouldn't want to work there. It was already about as robotic as it could get and yes, there were definitely a few things that could have made it less bad, but I don't think that job could be good.
Also, I'm not so deluded to think that it was the worst job in the world, either. I mean, in that world, who collects trash? There are a lot of necessary jobs that just plain suck and we're simply zeroing any incentive one might have to do those.
In that vein, if we go this route, I'd almost think we would be better off to supply basic goods (food, shelter) than cash. That at produces some semblance of incentive structure for improvement while leaving an out for those who have been made irrelevant by technology.
Providing food and shelter versus cash makes the government have to solve all the distribution issues(something that I think we need a benevolent AI to do for us), making the dole actually be food makes entire groups eat the same food, countrywide chicken casserole nights will become a real thing.
Basic income would only cover essentials such as shelter and food. While some people would choose to work because they enjoy their jobs, many would work to be able to buy a nice car, dishwasher, TV and other non-essentials. Unpleasant jobs might be the only choice for some people, particularly for unskilled workers.
Basic income is only money, though. You don't control whether someone pays rent or buys $x worth of beer with it.
I say that not to be mean, but because of the times I watched my coworkers get their paycheck, walk or bike[1] straight to the gas station to buy lots of beer (estimated cost ~10% of paycheck), and call in sick the next day.
[1] This was mostly due to being unable to afford a car, though I was aware of a few with DUI convictions. In one case, they were able to bike there because I helped them replace their bike after it was stolen around Christmas time.