syntax edits and removed unused widgets.py file