Clean up / Optimize Nim

Should be fine now with --cc:clang.