Better check for CraftPlayer class, and adds a couple logging to spot issues.