@techee I've made the changes you've requested where applicable. Please let me know if there are any other changes or if you'd like the commits squashed.
* removed the null check before g_free * kept g_strdup because it's needed to prevent segfault on g_free * combined get_fullpath and get_folder * added "open" to the menu item labels * removed config
Also, added use of `x-terminal` when available. When this is used, basename from the real_name is used instead of the symlink because of an issue that affects only some terminals (related to PWD detection).