Replaced init/uninitialize functions with set internal flags and cleanup, added enable/disable debug functions, added function to get internal list entry count, fixed bug in capacitance increase function (related to memory stats).