'Gets the current profile instance.
:return: The profile instance for the actual cursor position.'

def _get_profile(self):

    (path, focus) = self.get_cursor()
    if (path is None):
        return None
    prfid = self.liststore[path][2]
    profile_obj = self.profile_instances[prfid]
    return profile_obj
