[mkgmap-dev] Commit r4392: reafctoring (again): redo most changes in SeaGenerator from r4382