When it comes time to consider graduate school, research information and speak with knowledgeable people. Entering the wrong program or the wrong school can also derail your career. If you want to work with a particular company and you know they hire graduates from only 1 or 2 schools, then you need to get your credentials from that institution. Your reputation upon graduation is as good as your adviser's. Therefore, choose your school, program and adviser very carefully.
Job markets fluctuate.
It is very difficult to predict what positions will be available in 5 to 10 years. You need to keep a balance between the work you care very deeply about and the probability of earning a living in that field. It may well be presumptuous on my part to think I can give you advice on what to do with your life. Perhaps what I can do, for what it may be worth, is give you some of my thoughts. It should not be ignored or neglected, and it is not futile, for much can be done.