Inlined some magic strings
Removed iterator allocs (haxe)

Also some minor cosmetic alterations