more GUI work main