First bit of PiP reading code.

I forgot to fix the extract() function to use line 2 of settings. 0_0