sorted out most of the bugs, now the tons neutron stars are back... at least I'm getting some giants now, but not enough. After checking my Evolutionary tracks, it turns out that they only go up to the first flash in the AGB, so I'm currently skipping the whole AGB-phase of heavier mass stars. I should be able to correct that rather easy, but I'll also have some weeding out in the tracks-database to do. It's too detailed right now, increasing processing time by a rather unreasonable amount...
---------- Post added at 02:38 PM ---------- Previous post was at 10:40 AM ----------
Well, I'm coming along... the galaxy looks much better now, but still has some problems. Firstly, I have too many corpses lying around (majorly white dwarfs now, but TONS of them), and secondly, the giants are still a bit on the rare side. For now I'm concentrating my efforts on getting rid of the way too frequent dead stars. There are three possible causes remaining. Either I overestimated the overall age of the galaxy (working with 13 billion years currently, which I think should be ok according to several internet sources), or I underestimated the drop-off in age towards the rim (oldest stars in the rim currently around 6 billion years old, but I have no Idea if this is anywhere near accurate).
Or, third possibility, I'm getting too many massive stars, (since they die a lot faster). Theoretically I'm working with the initial mass function, though, and I already checked it several times and think it is ok, so I'll go about screwing around with the age parameters a bit more...