more net_* functions added; clean_threat_table() added; handle_regen() added; handle_respawning() added