Some fixes and made it remove signs from config when they are broken.