Preferences now read as XML + settings menu redone

Writing as XML is yet to be implemented!