Added a few preferences to XML again.
Will probably get changed.