Added sleeping animation. Refactored npc rendering.