Added mate-session process to get_graphic_pid function (closes issue #8)