added log macro and complete dialog

All of us need some money, but some people really enjoy doing work that
may not generate, if it's non-profit work like what we do.