GitHub #84: Reorder init to keep gui_params intact