started the UiHandler.rb, removed most temp prints