Performance improvements

Some work done on the internals of the data class, making full reloads much faster, especially for layouts that have a large number of sections.