Added prng, naive multi-device support. Compiles, runtime error in PrngInit