Improved default layout if no ui.xml UI (Fixes #1).