Started UI code.