Dispersed and Encapsulated Gain Medium in Plasmonic Nanoparticles: a Multipronged Approach to Mitigate Optical Losses