Fix JFrame not closing
Temporary