This might be attributed to the users responsibility: If a user generates a very large network (i tried a regular lattice with 50 nodes per side) the program freezes and starts eating up memory until it crashes.
One might think about offering a graceful recovery from this, or maybe thread the netzwork creation?