Remove unnecessary comments.
Corrects bug where no appliance is found, and double categories.