Fixed the problems of incorrect starting up and saving desktop by commenting out the (require 'init-growl) line.