Update ui settings.
Set default font.
Set encoding and input method.
Add undo-tree.
Fancy line numbering.