Major UI revamp. JS reorganized.