WebMaster: add some comments, compact getopts case structure