Tweaks to interactiveshell for user_ns_hidden as dict