added saving and started editor