* begun work on preference UI and updated Foundation

The Foundation update broke  a lot of things, I'll get around to fixing
those later.