Fixed endless loop in NEAT display
Fix compile issues