interface.py: fixed some errors due to reformatting.
interface.py: GUI is now compatible with the isPrime method.