Saved at 2014 05 17 Saturday 17:29:44 PM 1400315384

Fix path handling logic for -cfg option
Use gchar for cfgfile_basename , cfgfile