Converted to use-package.

Extracted some functions to visual.el and utilities.el.