fix _instantiate_selector() mini bug (make sure obj is a class before calling issubclass)
functionset_tab(tabname,cookiename){// set appropriate cookieasync_remote_exec('set_cookie',cookiename,tabname);// trigger show + tabname eventtrigger_load(tabname);}