For upstream

Hi,

I re-worked libpicofe and Picodrive according to your comments; tell me if anything is wrong.