A lot of fixes for components and scene object management.