/finished/ preferences, added base for tweak.xm

Changes can still be made to preferences: maybe implement
notifications, we also have to implement preferences on the code side
(getting values).