updates for editor, better portal link handling, script editing suggests functions to expand