"Finished" prepare VM implementation.

* I'd like to use a secure pseudo random number generator rather than
  pulling directly from /dev/random all the time, but I haven't added
  PyCrypto as a dependency yet and don't want to deal with it at this
  time. Hopefully I add it before I make the server hang!