Add title to performance benchmarks.
Simplify handleCorners function.