Reference Lua includes as system.
Copy comments from moon files to lua.
Fix leftover references to `undefined`.