Even Smarter spawning of the ghosts

Refactored the GhostAI to work in a way that make sense!

CAUTION!!! Broke some tests... Will have to look into them later!