improvement: prevent  transparency of window background in  standalone mode