Ui fixes

Base UI design. FINALLY FIXED JS BUG.