glacier: update panel code, still missing the full init code