more work on the api, prevent crashes due to fake players, close #13