Various improvements.
- Use trove collection in player model.
- Various fixes towards less memory use (such as primitive types instead of objects).