restoring grep-mode + EMMS commentaries
checking that variables exist before using them
workaround to work with desktop-save-mode
create first workgroup when reloading fails