fix detecting program name and system process title, fix #8, update #7, update #5