Heap fixes, basic genetic stuff working