function resize_canvas_and_save_dimensions(unclamped_width, unclamped_height, undoable_meta = {}) {
	resize_canvas_without_saving_dimensions(unclamped_width, unclamped_height, undoable_meta);
	localStore.set({
		width: main_canvas.width.toString(),
		height: main_canvas.height.toString(),
	}, (_error) => {
		// oh well
	});
}
Resizes the canvas and saves the dimensions to local storage as the new default.

@param {number} unclamped_width - The new width of the canvas. Will be clamped to a minimum of 1.
@param {number} unclamped_height - The new height of the canvas. Will be clamped to a minimum of 1.
@param {{name?: string, icon?: HTMLImageElement | HTMLCanvasElement}} [undoable_meta={}] - overrides certain properties of ActionMetadata