Combined Francesco's and my code.  Now autogens ghosts near user and has a menu to change difficulty, sound, etc.