Move entropy generation to main window