added logic waypoint, give item, npcs, several fixes