fix units sometimes not losing their visibility when they die
change some comments into documentation comments