Button now runs generator. Next: Seperate thread.