You can get more efficient stitching of images in ICE if all the pics are shot on the same level or levels. For horizontal panos this fairly easy to do if you use a tripod allowing about 25% overlap. Single row panos will be deeper if shot using the vertical format but ideally require a special bracket if used on a tripod.
Random shots can be used but tend to lead to the type of output shown by the OP ie. irregular shaped photos which require heavy cropping.
The program will attempt to match colour & exposure but can be helped to achieve a more even final photo if exposure & WB is standardised at the time of shooting or in PP before mixing. It works best , like most pano programs , if there isn't too much movement between successive frames.