refactored ui, fix some ie wtfs