Added new logging system, fixed bug in tig::util::Vector::end()