Improved player.messages handling