added swingworker so Perl script doesn't freeze gui when running