more progress on converting astgen to the new AST memory layout. only a few code paths left to update.