Cleanup package install script

- Only install needed packages
- Not all machines need the trackpad setup (it makes things worse on
  some machines)
- s/echo/exit/ where needed
- Style changes