refactoring ui components, add basic events and entry widget (perhaps bug in this last one)