Modified LogWrapper - added options to clear the buffer.
Created ExtensionManager.
Created basic signals.
Created LogStats extension, for periodic logging of the basic stats.