tridentfb: move global flat panel variable into structure