Apparently, the layout engine is written in something resembling
either Java or Google's G+. It's "C++", but there's no exceptions,
manual memory management, etc. But it's also attempting to recreate
a subset of the Java Collections framework in C++. It's a common
pattern in both beginner and older C++.
I'll completely replace all of this with standard C++ library types.