Add rectangle particle emitter
Minor cleanup to text measurement