add and use StackableSingletonConfigurable
save local namespace sans ipy hidden variables and update namespace before exit