if (surface_exists(mysurf)) surface_free(mysurf);