fix compile errors in timed wait of queue and add a new class ScopedIncrement for use in queue
some small improvements in cxxtools::IniFile
fix some copyright headers