Final update. Now working on rewriting as LuaRogue.