Adding some logic to avoid console spam when an error happens.
Characters now subclass KX_GameObject, which will be helpful for filtering collisions (isinstance(object, Character)).