Set Robot.Radius and some array lengths to auto-calculate instead of stored variables.

Begun to pass robots and shots by reference instead of by id.
Fixed a few null-references on close.
Moved EnergyWindow to C#