Fixed some problems added more controls.