Update MainFrame.java

Making a pull request after committing a minor change to a forked version of the project