#29 Pack main panel content (resize main frame size to content)