Added tile saving, Middle click to close