Bugfixing and Readability

Fixed bug where generation would stop a certain distance out (untested)
and added some comments to show where generation happens
Reworked body allocation