fix getMostOfType
add distance stats
add entities
start support for player head