Added tempo controls
Cleaned up the UI creation code and moved all DOM elements to ftUI