Clean up IPython configuration