Improvement: format and rformat

format, rformat: interface for boost::format()
also: fixes.