fix some minor typos
Fixed critical spinlock when appending empty string
fixed copyright and old version info on schema files