more tests; better spinlock; more comments
more tests for serialization
better grammar parser errors