document and prototype main() in ucpcal.h