Making headway on memory issues. My main problems where mostly from not calling NimMain before I do nim stuff. I think I have spend 60 hours this week looking at Nim's generated C code...
I am stuck on some memory corruption bugs now, which might be my fault.
