check gui running