* Fixed generating functions in atomic blocks (again).
* Fixed allocating too much space for atomic buffers.