refine source, < 1K LOC, stop win sound