diff --git a/code/datums/statistics/entities/panel_stats.dm b/code/datums/statistics/entities/panel_stats.dm
index fa292eb4595b..f2c06b42daa5 100644
--- a/code/datums/statistics/entities/panel_stats.dm
+++ b/code/datums/statistics/entities/panel_stats.dm
@@ -66,8 +66,8 @@
"cause_name" = sanitize(statistic_death.cause_name),
"total_kills" = statistic_death.total_kills,
"total_damage" = damage_list,
- "time_of_death" = statistic_death.time_of_death,
- "total_time_alive" = statistic_death.total_time_alive,
+ "time_of_death" = duration2text(statistic_death.time_of_death),
+ "total_time_alive" = duration2text(statistic_death.total_time_alive),
"total_damage_taken" = statistic_death.total_damage_taken,
"x" = statistic_death.x,
"y" = statistic_death.y,
diff --git a/nano/templates/cm_stat_panel.tmpl b/nano/templates/cm_stat_panel.tmpl
deleted file mode 100644
index 26de08f17054..000000000000
--- a/nano/templates/cm_stat_panel.tmpl
+++ /dev/null
@@ -1,966 +0,0 @@
-
-
- {{if data.round}}
- {{:helper.link('Global', 'home', {'menu' : 0, 'subMenu' : 0, 'dataMenu': 0}, data.menu == 0 ? 'selected' : null)}}
- {{/if}}
-
-
- {{if data.menu == 0}}
- {{:helper.link('General', null, {'subMenu' : 0, 'dataMenu': 0}, data.subMenu == 0 ? 'selected' : null)}}
- {{:helper.link('Participants', null, {'subMenu' : 1, 'dataMenu': 0}, data.subMenu == 1 ? 'selected' : null)}}
- {{:helper.link('Deaths', null, {'subMenu' : 2, 'dataMenu': 0}, data.subMenu == 2 ? 'selected' : null)}}
- {{:helper.link('Jobs', null, {'subMenu' : 3, 'dataMenu': 0}, data.subMenu == 3 ? 'selected' : null)}}
- {{:helper.link('Castes', null, {'subMenu' : 4, 'dataMenu': 0}, data.subMenu == 4 ? 'selected' : null)}}
- {{:helper.link('Weapons', null, {'subMenu' : 5, 'dataMenu': 0}, data.subMenu == 5 ? 'selected' : null)}}
- {{else data.menu == 1}}
- {{if data.human}}
- {{:helper.link('Human', null, {'subMenu' : 0, 'dataMenu' : 0}, data.subMenu == 0 ? 'selected' : null)}}
- {{/if}}
- {{if data.xeno}}
- {{:helper.link('Xeno', null, {'subMenu' : 1, 'dataMenu' : 0}, data.subMenu == 1 ? 'selected' : null)}}
- {{/if}}
- {{/if}}
-
-{{if data.menu == 1 && data.subMenu != 2}}
-
- {{:helper.link('General', null, {'dataMenu' : 0}, data.dataMenu == 0 ? 'selected' : null)}}
- {{:helper.link('Deaths', null, {'dataMenu' : 2}, data.dataMenu == 2 ? 'selected' : null)}}
- {{if data.subMenu == 0}}
- {{:helper.link('Weapons', null, {'dataMenu' : 3}, data.dataMenu == 3 ? 'selected' : null)}}
- {{:helper.link('Roles', null, {'dataMenu' : 4}, data.dataMenu == 4 ? 'selected' : null)}}
- {{:helper.link('Medals', null, {'dataMenu' : 5}, data.dataMenu == 5 ? 'selected' : null)}}
- {{else data.subMenu == 1}}
- {{:helper.link('Castes', null, {'dataMenu' : 3}, data.dataMenu == 3 ? 'selected' : null)}}
- {{:helper.link('Jellies', null, {'dataMenu' : 5}, data.dataMenu == 5 ? 'selected' : null)}}
- {{/if}}
-
-{{/if}}
-
- {{if data.menu == 0}}
- {{if data.round}}
- {{if data.subMenu == 0}}
-
- {{:data.round.name}}
-
-
- Map:
-
-
- {{:data.round.map_name}}
-
-
- Gamemode:
-
-
- {{:data.round.game_mode}}
-
- {{if data.round.round_result}}
-
- Result:
-
-
- {{:data.round.round_result}}
-
- {{/if}}
-
- Round Start:
-
-
- {{:data.round.real_time_start}}
-
- {{if data.round.real_time_end}}
-
- Round End:
-
-
- {{:data.round.real_time_end}}
-
- {{/if}}
- {{if data.round.round_length}}
-
- Round Length:
-
-
- {{:data.round.round_length}}
-
- {{/if}}
- {{if data.round.round_hijack_time}}
-
- Hijack Time:
-
-
- {{:data.round.round_hijack_time}}
-
- {{/if}}
- {{if data.round.end_round_player_population}}
-
- Final Population:
-
-
- {{:data.round.end_round_player_population}}
-
- {{/if}}
-
- DEFCON Level:
-
-
- {{:data.round.defcon_level}}
-
- {{if data.round.total_objective_points}}
-
- Objective Points:
-
-
- {{:data.round.objective_points}}
-
-
- Total Objective Points:
-
-
- {{:data.round.total_objective_points}}
-
- {{/if}}
-
- Total Shots Fired:
-
-
- {{:data.round.total_projectiles_fired}}
-
-
- Total Shots Hit:
-
-
- {{:data.round.total_projectiles_hit}}
-
-
- Total Shots Hit (Human):
-
-
- {{:data.round.total_projectiles_hit_human}}
-
-
- Total Shots Hit (Xeno):
-
-
- {{:data.round.total_projectiles_hit_xeno}}
-
-
- Total FF Instances:
-
-
- {{:data.round.total_friendly_fire_instances}}
-
-
- Total Friendly Fire Kills:
-
-
- Total Slashes:
-
-
- {{:data.round.total_slashes}}
-
-
- Total Facehuggers Applied:
-
-
- {{:data.round.total_huggers_applied}}
-
-
- Total Larva Bursts:
-
-
- {{:data.round.total_larva_burst}}
-
- {{else data.subMenu == 1}}
-
- Total Participants:
-
-
-
- Total Deaths:
-
-
- {{if data.round.round_hijack_time}}
-
- Hijack Participants:
-
-
- {{/if}}
- {{if data.round.real_time_end}}
-
- Final Participants:
-
-
-
-
- {{/if}}
- {{else data.subMenu == 2}}
- {{props data.round.death_stats_list :death_value:death_index}}
-
- {{/props}}
- {{else data.subMenu == 3}}
- {{props data.round.job_stats_list :job_value:job_index}}
-
- {{/props}}
- {{else data.subMenu == 4}}
- {{props data.round.caste_stats_list :caste_value:caste_index}}
-
-
- {{:caste_value.name}}
-
- {{props caste_value.niche_stats :niche_value:niche_index}}
-
- {{:niche_value.name}}:
-
-
- {{:niche_value.value}}
-
- {{/props}}
-
-
- Abilities Used:
-
- {{props caste_value.abilities_used :ability_value:ability_index}}
-
- {{:ability_value.name}}:
-
-
- {{:ability_value.value}}
-
- {{/props}}
- {{if caste_value.nemesis}}
-
- Nemesis:
-
-
-
- {{:caste_value.nemesis.name}}
-
-
- {{/if}}
-
- {{/props}}
- {{else data.subMenu == 5}}
- {{props data.round.weapon_stats_list}}
-
-
-
- {{:value.name}}
-
- {{if value.total_hits}}
-
- Total Hits:
-
-
- {{:value.total_hits}}
-
- {{/if}}
- {{if value.total_shots}}
-
- Total Shots:
-
-
- {{:value.total_shots}}
-
- {{/if}}
- {{if value.total_shots_hit}}
-
- Total Shots Hit:
-
-
- {{:value.total_shots_hit}}
-
- {{/if}}
- {{if value.total_friendly_fire}}
-
- Total FF Instances:
-
-
- {{:value.total_friendly_fire}}
-
- {{/if}}
- {{props value.niche_stats :niche_value:niche_index}}
-
- {{:niche_value.name}}:
-
-
- {{:niche_value.value}}
-
- {{/props}}
-
-
- {{/props}}
- {{/if}}
- {{/if}}
- {{else data.menu == 1}}
- {{if data.subMenu == 0}}
- {{if data.human}}
- {{if data.dataMenu == 0}}
-
- Total Playtime:
-
-
- {{:data.human.total_playtime}}
-
-
- Total Rounds Played:
-
-
- {{:data.human.total_rounds_played}}
-
-
- Total Shots:
-
-
- {{:data.human.total_shots}}
-
-
- Total Shots Hit:
-
-
- {{:data.human.total_shots_hit}}
-
- {{if data.human.total_lives_saved}}
-
- Total FF Instances:
-
-
- {{:data.human.total_friendly_fire}}
-
- {{/if}}
- {{if data.human.total_revives}}
-
- Total Times Revived:
-
-
- {{:data.human.total_revives}}
-
- {{/if}}
- {{if data.human.total_lives_saved}}
-
- Total Lives Saved:
-
-
- {{:data.human.total_lives_saved}}
-
- {{/if}}
- {{if data.human.total_lives_saved}}
-
- Total Screams:
-
-
- {{:data.human.total_screams}}
-
- {{/if}}
- {{props data.human.niche_stats :niche_value:niche_index}}
-
- {{:niche_value.name}}:
-
-
- {{:niche_value.value}}
-
- {{/props}}
- {{if data.human.top_weapon}}
-
- Top Weapon:
-
-
-
- {{:data.human.top_weapon.name}}
-
- {{if data.human.top_weapon.total_shots}}
-
- Total Shots:
-
-
- {{:data.human.top_weapon.total_shots}}
-
- {{/if}}
- {{if data.human.top_weapon.total_shots_hit}}
-
- Total Shots Hit:
-
-
- {{:data.human.top_weapon.total_shots_hit}}
-
- {{/if}}
- {{if data.human.top_weapon.total_hits}}
-
- Total Hits:
-
-
- {{:data.human.top_weapon.total_hits}}
-
- {{/if}}
- {{if data.human.top_weapon.total_friendly_fire}}
-
- Total FF Instances:
-
-
- {{:data.human.top_weapon.total_friendly_fire}}
-
- {{/if}}
-
- {{/if}}
- {{if data.human.nemesis}}
-
- Nemesis:
-
-
-
- {{:data.human.nemesis.name}}
-
-
- {{/if}}
- {{else data.dataMenu == 2}}
- {{props data.human.death_list :death_value:death_index}}
-
-
- {{:death_value.mob_name}}
-
- {{if death_value.job_name}}
-
- Role:
-
-
- {{:death_value.job_name}}
-
- {{/if}}
-
- Area:
-
-
- {{:death_value.area_name}}
-
-
- Cause:
-
-
- {{:death_value.cause_name}}
-
-
- Time of Death:
-
-
- {{:death_value.time_of_death}}
-
-
- Lifespan:
-
-
- {{:death_value.total_time_alive}}
-
-
- Damage Taken:
-
-
- {{:death_value.total_damage_taken}}
-
-
- Location:
-
-
- ({{:death_value.x}}, {{:death_value.y}}, {{:death_value.z}})
-
-
- {{/props}}
- {{else data.dataMenu == 3}}
- {{props data.human.weapon_stats_list}}
-
-
-
- {{:value.name}}
-
- {{if value.total_hits}}
-
- Total Hits:
-
-
- {{:value.total_hits}}
-
- {{/if}}
- {{if value.total_shots}}
-
- Total Shots:
-
-
- {{:value.total_shots}}
-
- {{/if}}
- {{if value.total_shots_hit}}
-
- Total Shots Hit:
-
-
- {{:value.total_shots_hit}}
-
- {{/if}}
- {{if value.total_friendly_fire}}
-
- Total FF Instances:
-
-
- {{:value.total_friendly_fire}}
-
- {{/if}}
- {{props value.niche_stats :niche_value:niche_index}}
-
- {{:niche_value.name}}:
-
-
- {{:niche_value.value}}
-
- {{/props}}
-
-
- {{/props}}
- {{else data.dataMenu == 4}}
- {{props data.human.job_stats_list :job_value:job_index}}
-
-
- {{:job_value.name}}
-
-
- Total Playtime:
-
-
- {{:job_value.total_playtime}}
-
-
- Total Rounds Played:
-
-
- {{:job_value.total_rounds_played}}
-
- {{if job_value.total_shots}}
-
- Total Shots:
-
-
- {{:job_value.total_shots}}
-
- {{/if}}
- {{if job_value.total_shots_hit}}
-
- Total Shots Hit:
-
-
- {{:job_value.total_shots_hit}}
-
- {{/if}}
- {{if job_value.total_friendly_fire}}
-
- Total FF Instances:
-
-
- {{:job_value.total_friendly_fire}}
-
- {{/if}}
- {{if job_value.total_revives}}
-
- Total Times Revived:
-
-
- {{:job_value.total_revives}}
-
- {{/if}}
- {{if job_value.total_lives_saved}}
-
- Total Lives Saved:
-
-
- {{:job_value.total_lives_saved}}
-
- {{/if}}
- {{if job_value.total_screams}}
-
- Total Screams:
-
-
- {{:job_value.total_screams}}
-
- {{/if}}
- {{props job_value.niche_stats :niche_value:niche_index}}
-
- {{:niche_value.name}}:
-
-
- {{:niche_value.value}}
-
- {{/props}}
-
- {{if job_value.nemesis}}
-
- Nemesis:
-
-
-
- {{:job_value.nemesis.name}}
-
-
- {{/if}}
-
- {{/props}}
- {{else data.dataMenu == 5}}
- {{props data.human.medal_list :medal_value:medal_index}}
-
-
- {{:medal_value.medal_type}}
-
-
- {{:medal_value.recipient}}
-
-
- {{:medal_value.recipient_job}}
-
-
-
- {{:medal_value.citation}}
-
-
- {{/props}}
- {{/if}}
- {{/if}}
- {{else data.subMenu == 1}}
- {{if data.xeno}}
- {{if data.dataMenu == 0}}
-
- Total Playtime:
-
-
- {{:data.xeno.total_playtime}}
-
-
- Total Rounds Played:
-
-
- {{:data.xeno.total_rounds_played}}
-
-
- Total Slashes:
-
-
- {{:data.xeno.total_hits}}
-
- {{props data.xeno.niche_stats :niche_value:niche_index}}
-
- {{:niche_value.name}}:
-
-
- {{:niche_value.value}}
-
- {{/props}}
- {{if data.xeno.top_caste}}
-
- Top Caste:
-
-
-
- {{:data.xeno.top_caste.name}}
-
-
- Total Playtime:
-
-
- {{:data.xeno.top_caste.total_playtime}}
-
-
- Total Rounds Played:
-
-
- {{:data.xeno.top_caste.total_rounds_played}}
-
-
- {{/if}}
- {{if data.xeno.nemesis}}
-
- Nemesis:
-
-
-
- {{:data.xeno.nemesis.name}}
-
-
- {{/if}}
- {{else data.dataMenu == 2}}
- {{props data.xeno.death_list :death_value:death_index}}
-
-
- {{:death_value.mob_name}}
-
- {{if death_value.job_name}}
-
- Caste:
-
-
- {{:death_value.job_name}}
-
- {{/if}}
-
- Area:
-
-
- {{:death_value.area_name}}
-
-
- Cause:
-
-
- {{:death_value.cause_name}}
-
-
- Time of Death:
-
-
- {{:death_value.time_of_death}}
-
-
- Lifespan:
-
-
- {{:death_value.total_time_alive}}
-
-
- Damage Taken:
-
-
- {{:death_value.total_damage_taken}}
-
-
- Location:
-
-
- ({{:death_value.x}}, {{:death_value.y}}, {{:death_value.z}})
-
-
- {{/props}}
- {{else data.dataMenu == 3}}
- {{props data.xeno.caste_stats_list :caste_value:caste_index}}
-
-
- {{:caste_value.name}}
-
-
- Total Playtime:
-
-
- {{:caste_value.total_playtime}}
-
-
- Total Rounds Played:
-
-
- {{:caste_value.total_rounds_played}}
-
- {{props caste_value.niche_stats :niche_value:niche_index}}
-
- {{:niche_value.name}}:
-
-
- {{:niche_value.value}}
-
- {{/props}}
-
-
- Abilities Used:
-
- {{props caste_value.abilities_used :ability_value:ability_index}}
-
- {{:ability_value.name}}:
-
-
- {{:ability_value.value}}
-
- {{/props}}
- {{if caste_value.nemesis}}
-
- Nemesis:
-
-
-
- {{:caste_value.nemesis.name}}
-
-
- {{/if}}
-
- {{/props}}
- {{else data.dataMenu == 5}}
- {{props data.xeno.medal_list :medal_value:medal_index}}
-
-
- {{:medal_value.medal_type}}
-
-
- {{:medal_value.recipient}}
-
-
-
- {{:medal_value.citation}}
-
-
- {{/props}}
- {{/if}}
- {{/if}}
- {{/if}}
- {{/if}}
-