remove code duplication in helpers.py
inline the single used 4-line function from helpers.py to bot.py;
all other functions defined in that file were duplicated in ui.py, and unsused.
This commit also fixes a nitpick in ui.py: replace range(len(...)) with enumerate(...)
Edited by zseri