Generic panel rendering (wip)