added several fixes for the external commands, ui components and form controls.