Remove useless code
Refactor styles to CSS
Change color of active tube
freq no longer used