updating for ubuntu 14.04

When using ubuntu 14.04, `which "$DCONF" > /dev/null 2>&1` was true, leading BASE_KEY to be set but  `[[ -n "$DCONF list $BASE_KEY/" ]]` was not which set BASE_KEY to the wrong value.

~~I also added to the README that in ubuntu you have to have the default profile selected for this to work.~~
By adding unsets, I was able to fix this issue as well as the issue that you couldn't run two of these scripts back to back.
I also fixed the indentation so it wasn't both tabs and spaces which made it much easier to read.