remove array with portal details references that might have been leaking. Instead, store the details with the rendered portals so removal is handled automatically
improve doc
update build