Can now save a file using the Single Cell view (closes #245). Also some minor cleaning up.