Now saving buffer on quit