fixed some layout issues
added support for removing components from container