Refine gui settings.

- Fix a typo in checking fonts.
- Adopt solarized-dark as the default color theme.
- Some minor code refactoring.
Add basic completion support.

- Add hippie-expand.
- Add auto-complete.