refactored VladUI a little