Some cleanup on yasnippet setup.
Save helm-M-x history even when command fails.