change all use of g_critical() in libsmf() to g_warning()