updated track.py and ui.py (minor fixes)