cleanup general_nogui