Added explicit registration of create_component_action for this component.
Fixed includes, added terminate command, tweaking things