Fixed Stats windows not closing with IDE
Merge pull request #43 from mirror3000/master

Fixed Stats windows not closing with IDE