Added 'Write Objects to Lua' command

This saves all the objects in every cell to a single lua file.
Display objects in adjacent cells.  Fixed overlays crash.  Fixed lua settings.