Update catalogoptions.class.php

- Add more comments to describe what is going on