Fixes to component and build process, and most of the component packaging