2/4 Ghost AI, some other minor fixes