Add player functions and cleaned things up
Separated UI code from the tone code