Fix cask init
Check if there's work to be done first

Also add check for Emacs
Remove some newlines