I think you forgot a common career-path for the middling developer who has dropped off the back of the skills-wave - becoming a QA/Test engineer. It's not for everyone but I have met a lot of these guys over the years. They're always keen to tell you 'I used to be a developer'. I assume there is a pay-cut involved, but you do get to stay employed.