Did some debugging, also the random seed just doesn't work and after some checking I'm still not certain what is making it fail.
No clue what the deal is.