Both the priests and the musicians put on a performance, don't they. Applause at a funeral is not all that unusual in my experience, or the dancing, for that matter. It's about the person and the life being celebrated.