the GUI now calls init at the proper moment