fixed some cases of exception thrown when NPC interacts with the world
"fixed" file logger by removing it
now compilable again