Fix indentation
Conform to XDG basedir spec
Hide cursor unless user input is required
Change cache and installation path to XDG basedir spec