clean up 6cc2812f2e8 (interim vst fixes)
remove code intended for use with basename(), fix memory leak since g_path_get_basename() returns a newly allocated string.