Implemented Kernel#atomic
Reviewed use of Fibers in Agent class