Removed tbg::log, Perimeter bug fixed