Generator now called on play pressed

It's currently not on a separate thread due to some error about threads
can't call functions on forms unless they're from the same thread. I
think this can be fixed with delegate methods, but generate is fast
enough it doesn't matter for now.