Add save and quit functions

Add separate save and quit functions so you don't have to exit wry completely to save.