Add support for creating multiple not related user interfaces same time
Add support for subtabs
Minor coding style fixes