hotN bug fix, unit test improvements, remove mostly unused "enableStatistics" switch