Update dictionary_gui.py

Added a few new lines to improve readability.