For the module showing up twice in setup, be sure you don't have more than one .config file for your module under setup/applications/.../FeatureDefinitions.
For the NullReferenceException, be sure the ControlSource is set correctly in the FeatureDefinition .config file for the module.
HTH,
Joe D.