Easiest way to fix the Pokedex problem is to clone any pokemon in your boxes (ie. load a PKM into an empty slot), change its species to Gengar (or whatever) and tick the "Is Egg" box and set steps to 1.
Then all you need to do is hatch the egg and you'll get a Lv1 Gengar and he'll be added to your Pokedex.