Silenced assert about TBTabContainer preferred size.
Fix for TBTabContainer preferred size in some situations.

Must read its attributes before inflating its tabs.
Read attributes into content and root layouts of TBTabContainer.
Updated incorrect comment in demo resource.
Set id the correct way, using constexpr.
Move popups into view horizontally, and code cleanup.
Quick workaround for jumpy focus in ResourceEditWindow.