continued work on UI and fixed bug in agility.py